const getters = {
  number: state => state.NUM,
  doneTodo: state => state.todos.filter(todo => todo.done).length,
  getTodoById: (state) => (id) => state.todos.find(todo => todo.id === id)
}
export default getters
